#ifndef STUDENT_H
#define STUDENT_H

#include <QObject>

class student : public QObject
{
    Q_OBJECT
public:
    explicit student(QObject *parent = nullptr);
    //信号槽写到public
    //需要声明也需要实现
    //有参数、也可以重载
    void treat();

    //有参重载
    void treat(QString food_name);

signals:

};

#endif // STUDENT_H
